package wef.PW.module.model;

import wef.PW.module.RewardReceive;

import java.net.Socket;

/**
 * 子站信息
 *
 */
public class PLCL {

    private Socket socket; // socket
    private RewardReceive rewardReceive; // 接收线程
    private int receiveNum = 0; // 接收序号 每收到一条 I 格式报文要自增 1
    private int sendNum = 0; // 发送序号 每发送一条 I 格式报文完毕要自增 1

    public PLCL(){
        this.receiveNum = 0;
        this.sendNum = 0;
    }
    public Socket getSocket() {
        return socket;
    }

    public void setSocket(Socket socket) {
        this.socket = socket;
    }

    public RewardReceive getRewardReceive() {
        return rewardReceive;
    }

    public void setRewardReceive(RewardReceive rewardReceive) {
        this.rewardReceive = rewardReceive;
    }

    public int getReceiveNum() {
        return receiveNum;
    }

    public void setReceiveNum(int receiveNum) {
        this.receiveNum = receiveNum;
    }

    public int getSendNum() {
        return sendNum;
    }

    public void setSendNum(int sendNum) {
        this.sendNum = sendNum;
    }
}
